package com.zzh.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhengzihong
 * @Desciotion:
 * @Date: Created in 17:02 2019/2/14
 * @Modified By:
 */
@RestController
public class PayController {

    @Value("${server.port}")
    private String serverPort;

    @RequestMapping("/")
    public String pay(){
        return "你調用了支付服務,端口號:"+serverPort;
    }
}
